using System.Collections.Generic;

namespace Verse.AI.Group;

public class TransitionAction_CheckForJobOverride : TransitionAction
{
	public override void DoAction(Transition trans)
	{
		List<Pawn> ownedPawns = trans.target.lord.ownedPawns;
		for (int i = 0; i < ownedPawns.Count; i++)
		{
			if (ownedPawns[i].CurJob != null)
			{
				ownedPawns[i].jobs.CheckForJobOverride();
			}
		}
	}
}
